/**
 * eadmin / www.eadmin.com.cn
 * 
 * 日期选择
 */
/**
 * eadmin / www.eadmin.com.cn
 * 
 * 全局配置
 */
/**
 * ================= 颜色设置 ==================
 */
/**
 * ================= 字体设置 ==================
 */
/**
 * ================= 通用方法 ==================
 */
.datepicker {
  border-radius: 5px;
  box-shadow: #060916 0px 0px 20px;
  width: auto;
  position: absolute;
  border: 1px #30375B solid;
  background: #232B4C;
  z-index: 9999;
  padding: 0 10px 5px 10px;
  outline: none;
  display: none;
}
.datepicker .header,
.datepicker .footer {
  height: 35px;
  line-height: 35px;
  text-align: center;
}
.datepicker .header span,
.datepicker .footer span {
  transition: color 0.2s linear;
  text-align: center;
}
.datepicker .header i,
.datepicker .footer i {
  width: 24px;
  height: 24px;
  font-size: 18px;
  margin-right: 0;
}
.datepicker .header .font,
.datepicker .footer .font {
  float: left;
  padding-left: 5px;
}
.datepicker .header .font:hover,
.datepicker .footer .font:hover {
  color: #0084FF;
}
.datepicker .header .confirm,
.datepicker .footer .confirm {
  float: right;
  position: relative;
}
.datepicker .header .confirm button,
.datepicker .footer .confirm button {
  padding: 5px 10px;
  margin-right: 0;
  margin-left: 2px;
}
.datepicker .header .not-allow,
.datepicker .footer .not-allow {
  color: #7886A3;
  cursor: not-allowed;
}
.datepicker .header .not-allow:hover,
.datepicker .footer .not-allow:hover {
  color: #7886A3;
}
.datepicker .header .prev-year,
.datepicker .header .prev-month {
  float: left;
}
.datepicker .header .next-year,
.datepicker .header .next-month {
  float: right;
}
.datepicker .footer {
  display: none;
}
.datepicker .footer .choose-time {
  display: none;
}
.datepicker .body {
  width: 260px;
}
.datepicker .body span {
  width: 34px;
  height: 34px;
  line-height: 34px;
}
.datepicker .body .next {
  color: #7886A3;
  margin-bottom: 3px;
}
.datepicker .datepicker-panel {
  float: left;
}
.datepicker .right {
  margin-left: 10px;
  display: none;
}
.datepicker .week,
.datepicker .day,
.datepicker .y-m,
.datepicker .picker-time {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-content: space-around;
}
.datepicker .week {
  color: #7886A3;
}
.datepicker .week span {
  cursor: default;
}
.datepicker .day span:not(.next) {
  border-radius: 5px;
  transition: background 0.2s linear;
  position: relative;
  margin-bottom: 3px;
}
.datepicker .day span:not(.next):hover:not(.current) {
  transition: background 0.2s linear;
  background: #4E5675;
}
.datepicker .day span:not(.next) div {
  border-radius: 50px;
  width: 5px;
  height: 5px;
  position: absolute;
  background: #0084FF;
  right: 2px;
  top: 2px;
}
.datepicker .day span.current {
  box-shadow: #060916 0px 0px 20px;
  background: -moz-linear-gradient(top, #339dff, #0084FF);
  background: -webkit-linear-gradient(top, #339dff, #0084FF);
  background: -o-linear-gradient(top, #339dff, #0084FF);
  color: #FFF;
}
.datepicker .day span.current div {
  background: #FFF;
}
.datepicker .y-m {
  display: none;
}
.datepicker .y-m div {
  border-radius: 5px;
  transition: background 0.2s linear;
  text-align: center;
  padding: 10px 0;
  width: 62px;
  cursor: pointer;
  margin: 10px 5px;
}
.datepicker .y-m div:hover {
  transition: background 0.2s linear;
  background: #4E5675;
}
.datepicker .y-m .active {
  background: #4E5675;
}
.datepicker .picker-time {
  display: none;
}
.datepicker .picker-time ul {
  margin-right: 2%;
  width: 31%;
  height: 256px;
  padding-bottom: 1px;
  position: relative;
}
.datepicker .picker-time ul li {
  border-radius: 5px;
  transition: background 0.2s linear;
  height: 24px;
  line-height: 24px;
  cursor: pointer;
  text-align: center;
  margin-top: 2px;
}
.datepicker .picker-time ul li:not(.current):hover {
  transition: background 0.2s linear;
  background: #4E5675;
}
.datepicker .picker-time ul .current {
  background: #4E5675;
}
.datepicker .picker-time ul .ps__rail-y {
  right: 0;
}
.datepicker .quick {
  padding: 0 6px;
  display: none;
  margin-bottom: 5px;
}
.datepicker .quick span {
  border-radius: 5px;
  transition: background 0.2s linear;
  padding: 5px 10px;
  margin: 6px 0;
}
.datepicker .quick span.title {
  padding-left: 0;
  color: #999;
}
.datepicker .quick span.current {
  box-shadow: #060916 0px 0px 20px;
  background: #0084FF;
  color: #FFF;
}
.datepicker .footer {
  height: 30px;
}
.datepicker .clear {
  clear: both;
}
.datepicker span {
  text-align: center;
  display: inline-block;
  cursor: pointer;
}
